import random as r

lottery = {"一等奖:": range(30), "二等奖:": range(30, 108), "三等奖:": range(108, 360)}
count = {"一等奖:": 0, "二等奖:": 0, "三等奖:": 0}
def is_atari():
    num = r.randint(0, 359)
    for name in lottery:
        if num in lottery.get(name):
            return name
for i in range(10000):
    count[is_atari()] += 1
for namae,kaisu in count.items():
    print(namae, kaisu)
